package pri.damai.xiaowu.goods.server.form;


import java.time.LocalDateTime;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;


/**
 * spu表(ProductSpu)表实体类
 * @Desc
 * @Author DaMai
 * @Date 2022-03-22 15:22:18
 */
@Data
public class ProductSpuForm {

    @Schema(description = "SPU ID")
    private Integer id;

    @Schema(description = "品牌ID")
    private Integer brandId;

    @Schema(description = "分类ID")
    private Integer categoryId;

    @Schema(description = "spu名称")
    private String name;

    @Schema(description = "spu描述")
    private String desc;

    @Schema(description = "卖点")
    private String sellingPoint;

    @Schema(description = "spu单位")
    private String unit;

    @Schema(description = "banner图片 多个图片逗号分隔")
    private Integer bannerUrl;

    @Schema(description = "商品介绍主图 多个图片逗号分隔")
    private Integer mainUrl;

    @Schema(description = "售价，整数方式保存")
    private Object sellPrice;

    @Schema(description = "市场价，整数方式保存")
    private Object marketPrice;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人staff_id")
    private Integer createId;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "修改人staff_id")
    private Integer updateId;

    @Schema(description = "状态 1:enable, 0:disable, -1:deleted")
    private Integer status;

}
